package com.miya.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "demo")
public class Demo implements Serializable {
    /**
     * 名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    private static final long serialVersionUID = 1L;

}